# 7-2无间隙输出
s=input()
k=[]
for i in s:
    if i==" ":
        continue
    else:
        k.append(i)
for i in k:
    print(i,end='')